package com.cskaoyan._01basic._07flow._02test;

import java.util.Scanner;

/**
 * @author Macro_Ray
 * @since 2024/3/3 9:34
 */

/*
 * 商品付款*/
public class If_02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入支付的钱：");
        int money = sc.nextInt();

        if (money >= 600){
            System.out.println("付款成功！");
        }else {
            System.out.println("付款失败！");
        }
    }
}
